<ion-view hide-back-button="true" title="添加新地址">
  <ion-nav-buttons side="left">
    <a class="button button-clear" ui-sref="mine.address.list">
      <i class="icon ion-chevron-left"></i>
    </a>
  </ion-nav-buttons>
  <ion-content>
    <div class="divider"></div>
    <div class="list" style="font-size: 18px">
      <label class="item item-input">
        <i class="icon ion-person placeholder-icon"></i>
        <input ng-model="address.receivename" placeholder="请填写您的姓名" type="text">
      </label>
      <label class="item item-input">
        <i class="icon ion-android-phone-portrait placeholder-icon"></i>
        <input ng-model="address.phone" placeholder="请填写联系方式" type="text">
      </label>
      <label class="item item-input">
        <i class="icon ion-ios-location placeholder-icon"></i>
        <p>{{dist.region}}</p>
        <!-- <input disabled="disabled" ng-model="dist.region" placeholder="请选择所在地区" type="text"> -->
      </label>
      <!-- <label class="item item-input item-select">
        <div class="input-label">
          天津
        </div>
        <select ng-repeat="region in regions" ng-model="address.region">
          <option value="">Blue</option>
          <option selected>Green</option>
          <option>Red</option>
        </select>
      </label> -->
      <label class="item item-input">
        <input ng-model="address.detail" placeholder="请填写您的详细地址" type="text">
      </label>
    </div>

    <button class="button button-block main-background" ng-click="addAddr()" ng-disabled="!address.detail || !address.phone || !address.receivename || address.phone.length < 6" style="border-radius: 10px">
      确定
    </button>
  </ion-content>
</ion-view>
